<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta charset="utf-8"/>
    <title>BooksOOP</title>
    <meta name="author" content=""/>
    <meta name="description" content=""/>

    <link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
    <link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet">
    <link href="../css/prism.css" rel="stylesheet" media="all"/>
    <link href="../css/template.css" rel="stylesheet" media="all"/>
    
    <!--[if lt IE 9]>
    <script src="https://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
    <![endif]-->
    <script src="https://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script src="https://code.jquery.com/ui/1.10.3/jquery-ui.min.js" type="text/javascript"></script>
    <script src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
    <script src="../js/jquery.smooth-scroll.js"></script>
    <script src="../js/prism.min.js"></script>
    <!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
    <script type="text/javascript">
    function loadExternalCodeSnippets() {
        Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
            var src = pre.getAttribute('data-src');
            var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
            var language = 'php';

            var code = document.createElement('code');
            code.className = 'language-' + language;

            pre.textContent = '';

            code.textContent = 'Loading…';

            pre.appendChild(code);

            var xhr = new XMLHttpRequest();

            xhr.open('GET', src, true);

            xhr.onreadystatechange = function () {
                if (xhr.readyState == 4) {

                    if (xhr.status < 400 && xhr.responseText) {
                        code.textContent = xhr.responseText;

                        Prism.highlightElement(code);
                    }
                    else if (xhr.status >= 400) {
                        code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
                    }
                    else {
                        code.textContent = '✖ Error: File does not exist or is empty';
                    }
                }
            };

            xhr.send(null);
        });
    }

    $(document).ready(function(){
        loadExternalCodeSnippets();
    });
    $('#source-view').on('shown', function () {
        loadExternalCodeSnippets();
    })
</script>

    <link rel="shortcut icon" href="../images/favicon.ico"/>
    <link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
    <link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
    <link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
</head>
<body>

<div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <i class="icon-ellipsis-vertical"></i>
            </a>
            <a class="brand" href="../index.html">BooksOOP</a>

            <div class="nav-collapse">
                <ul class="nav pull-right">
                    <li class="dropdown">
                        <a href="../index.html" class="dropdown-toggle" data-toggle="dropdown">
                            API Documentation <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                                                        <li><a href="../namespaces/Models.html">\Models</a></li>
                                                    </ul>
                    </li>
                    <li class="dropdown" id="charts-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            Charts <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="../graphs/class.html">
                                    <i class="icon-list-alt"></i>&#160;Class hierarchy diagram
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="dropdown" id="reports-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            Reports <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="../reports/errors.html">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">71</span>
                                </a>
                            </li>
                            <li>
                                <a href="../reports/markers.html">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">0</span>
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!--<div class="go_to_top">-->
    <!--<a href="#___" style="color: inherit">Back to top&#160;&#160;<i class="icon-upload icon-white"></i></a>-->
    <!--</div>-->
</div>

<div id="___" class="container-fluid">
        <section class="row-fluid">
        <div class="span2 sidebar">
                                <div class="accordion" style="margin-bottom: 0">
        <div class="accordion-group">
            <div class="accordion-heading">
                                    <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1361286074"></a>
                                <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
            </div>
            <div id="namespace-1361286074" class="accordion-body collapse in">
                <div class="accordion-inner">

                                                    <div class="accordion" style="margin-bottom: 0">
        <div class="accordion-group">
            <div class="accordion-heading">
                                    <a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-685451972"></a>
                                <a href="../namespaces/Models.html" style="margin-left: 30px; padding-left: 0">Models</a>
            </div>
            <div id="namespace-685451972" class="accordion-body collapse ">
                <div class="accordion-inner">

                    
                    <ul>
                                                                                                    <li class="class"><a href="../classes/Models.MySession.html">MySession</a></li>
                                                    <li class="class"><a href="../classes/Models.User.html">User</a></li>
                                                    <li class="class"><a href="../classes/Models.Authors.html">Authors</a></li>
                                                    <li class="class"><a href="../classes/Models.PasswordHash.html">PasswordHash</a></li>
                                                    <li class="class"><a href="../classes/Models.Books.html">Books</a></li>
                                                    <li class="class"><a href="../classes/Models.Comments.html">Comments</a></li>
                                            </ul>
                </div>
            </div>
        </div>
    </div>

                    
                    <ul>
                                                                                                    <li class="class"><a href="../classes/MysqliDb.html">MysqliDb</a></li>
                                            </ul>
                </div>
            </div>
        </div>
    </div>

        </div>
    </section>
    <section class="row-fluid">
        <div class="span10 offset2">
            <div class="row-fluid">
                <div class="span8 content class">
                    <nav>
                                                <a href="../namespaces/Models.html">\Models</a> <i class="icon-level-up"></i>
                                            </nav>
                    <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>

                    <h1><small>\Models</small>Authors</h1>
                    <p><em>MysqliDb Class</em></p>
                    

                    <section id="summary">
                        <h2>Summary</h2>
                        <section class="row-fluid heading">
                            <section class="span4">
                                <a href="#methods">Methods</a>
                            </section>
                            <section class="span4">
                                <a href="#properties">Properties</a>
                            </section>
                            <section class="span4">
                                <a href="#constants">Constants</a>
                            </section>
                        </section>
                        <section class="row-fluid public">
                            <section class="span4">
                                                                    <a href="../classes/Models.Authors.html#method_allBooksOfAuthor" class="">allBooksOfAuthor()</a><br />
                                                                    <a href="../classes/Models.Authors.html#method_saveAuthor" class="">saveAuthor()</a><br />
                                                                    <a href="../classes/Models.Authors.html#method_setAllFromOneTable" class="">setAllFromOneTable()</a><br />
                                                                    <a href="../classes/Models.Authors.html#method_getAllFromOneTable" class="">getAllFromOneTable()</a><br />
                                                                    <a href="../classes/Models.User.html#method_validate" class="">validate()</a><br />
                                                                    <a href="../classes/Models.User.html#method_validateEmail" class="">validateEmail()</a><br />
                                                                    <a href="../classes/Models.User.html#method_isInDb" class="">isInDb()</a><br />
                                                                    <a href="../classes/Models.User.html#method_registration" class="">registration()</a><br />
                                                                    <a href="../classes/Models.User.html#method_login" class="">login()</a><br />
                                                                    <a href="../classes/Models.User.html#method_redirectLogged" class="">redirectLogged()</a><br />
                                                                    <a href="../classes/Models.User.html#method_getUserName" class="">getUserName()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method___construct" class="">__construct()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_getInstance" class="">getInstance()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_rawQuery" class="">rawQuery()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_query" class="">query()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_get" class="">get()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_getOne" class="">getOne()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_insert" class="">insert()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_update" class="">update()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_delete" class="">delete()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_where" class="">where()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_orderBy" class="">orderBy()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_getInsertId" class="">getInsertId()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_escape" class="">escape()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method___destruct" class="">__destruct()</a><br />
                                                            </section>
                            <section class="span4">
                                                                    <em>No public properties found</em>
                                                            </section>
                            <section class="span4">
                                                                    <em>No constants found</em>
                                                            </section>
                        </section>
                        <section class="row-fluid protected">
                            <section class="span4">
                                                                    <a href="../classes/MysqliDb.html#method_reset" class="">reset()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method__determineType" class="">_determineType()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method__buildQuery" class="">_buildQuery()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method__dynamicBindResults" class="">_dynamicBindResults()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method__prepareQuery" class="">_prepareQuery()</a><br />
                                                                    <a href="../classes/MysqliDb.html#method_refValues" class="">refValues()</a><br />
                                                            </section>
                            <section class="span4">
                                                                    <a href="../classes/Models.User.html#property__queryResult" class="">$_queryResult</a><br />
                                                                    <a href="../classes/MysqliDb.html#property__instance" class="">$_instance</a><br />
                                                                    <a href="../classes/MysqliDb.html#property__mysqli" class="">$_mysqli</a><br />
                                                                    <a href="../classes/MysqliDb.html#property__query" class="">$_query</a><br />
                                                                    <a href="../classes/MysqliDb.html#property__where" class="">$_where</a><br />
                                                                    <a href="../classes/MysqliDb.html#property__whereTypeList" class="">$_whereTypeList</a><br />
                                                                    <a href="../classes/MysqliDb.html#property__orderBy" class="">$_orderBy</a><br />
                                                                    <a href="../classes/MysqliDb.html#property__paramTypeList" class="">$_paramTypeList</a><br />
                                                                    <a href="../classes/MysqliDb.html#property__bindParams" class="">$_bindParams</a><br />
                                                            </section>
                            <section class="span4">
                                <em>N/A</em>
                            </section>
                        </section>
                        <section class="row-fluid private">
                            <section class="span4">
                                                                    <a href="../classes/Models.User.html#method__isInDb" class="">_isInDb()</a><br />
                                                            </section>
                            <section class="span4">
                                                                    <a href="../classes/Models.Authors.html#property__tableName" class="">$_tableName</a><br />
                                                                    <a href="../classes/Models.Authors.html#property__columnName" class="">$_columnName</a><br />
                                                                    <a href="../classes/Models.Authors.html#property__order" class="">$_order</a><br />
                                                                    <a href="../classes/Models.User.html#property__email" class="">$_email</a><br />
                                                                    <a href="../classes/Models.User.html#property__valueToCheck" class="">$_valueToCheck</a><br />
                                                            </section>
                            <section class="span4">
                                <em>N/A</em>
                            </section>
                        </section>
                    </section>
                </div>
                <aside class="span4 detailsbar">
                                        
                    
                    <dl>
                        <dt>File</dt>
                            <dd><a href="../files/Models.Authors.php.html"><div class="path-wrapper">Models\Authors.php</div></a></dd>
                                                <dt>Package</dt>
                            <dd><div class="namespace-wrapper">\Default</div></dd>
                                                <dt>Class hierarchy</dt>
                            <dd class="hierarchy">
                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                        <div class="namespace-wrapper"><a href="../classes/MysqliDb.html">\MysqliDb</a></div>
                                                                    
                                        <div class="namespace-wrapper"><a href="../classes/Models.User.html">\Models\User</a></div>
                                                                                                    <div class="namespace-wrapper">\Models\Authors</div>
                            </dd>

                        
                        
                        
                        
                                                                        </dl>
                    <h2>Tags</h2>
                    <table class="table table-condensed">
                                            <tr>
                            <th>
                                todo
                            </th>
                            <td>
                                                            </td>
                        </tr>
                                        </table>
                </aside>
            </div>

                        
                                    <a id="properties" name="properties"></a>
            <div class="row-fluid">
                <div class="span8 content class">
                    <h2>Properties</h2>
                </div>
                <aside class="span4 detailsbar"></aside>
            </div>

                                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__queryResult" name="property__queryResult" class="anchor"></a>
            <article class="property">
                <h3 class="protected ">$_queryResult</h3>
                <pre class="signature">$_queryResult</pre>
                <p><em></em></p>
                

                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/Models.User.html"><div class="path-wrapper">\Models\User</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__instance" name="property__instance" class="anchor"></a>
            <article class="property">
                <h3 class="protected ">$_instance</h3>
                <pre class="signature">$_instance : \MysqliDb</pre>
                <p><em>Static instance of self</em></p>
                

                                <h4>Type</h4>
                <a href="../classes/MysqliDb.html">\MysqliDb</a>
                                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__mysqli" name="property__mysqli" class="anchor"></a>
            <article class="property">
                <h3 class="protected ">$_mysqli</h3>
                <pre class="signature">$_mysqli : \mysqli</pre>
                <p><em>MySQLi instance</em></p>
                

                                <h4>Type</h4>
                \mysqli
                                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__query" name="property__query" class="anchor"></a>
            <article class="property">
                <h3 class="protected ">$_query</h3>
                <pre class="signature">$_query : string</pre>
                <p><em>The SQL query to be prepared and executed</em></p>
                

                                <h4>Type</h4>
                string
                                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__where" name="property__where" class="anchor"></a>
            <article class="property">
                <h3 class="protected ">$_where</h3>
                <pre class="signature">$_where : array</pre>
                <p><em>An array that holds where conditions &#039;fieldname&#039; =&gt; &#039;value&#039;</em></p>
                

                                <h4>Type</h4>
                array
                                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__whereTypeList" name="property__whereTypeList" class="anchor"></a>
            <article class="property">
                <h3 class="protected ">$_whereTypeList</h3>
                <pre class="signature">$_whereTypeList : array</pre>
                <p><em>Dynamic type list for where condition values</em></p>
                

                                <h4>Type</h4>
                array
                                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__orderBy" name="property__orderBy" class="anchor"></a>
            <article class="property">
                <h3 class="protected ">$_orderBy</h3>
                <pre class="signature">$_orderBy</pre>
                <p><em>Dynamic type list for order by condition value</em></p>
                

                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__paramTypeList" name="property__paramTypeList" class="anchor"></a>
            <article class="property">
                <h3 class="protected ">$_paramTypeList</h3>
                <pre class="signature">$_paramTypeList : array</pre>
                <p><em>Dynamic type list for table data values</em></p>
                

                                <h4>Type</h4>
                array
                                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__bindParams" name="property__bindParams" class="anchor"></a>
            <article class="property">
                <h3 class="protected ">$_bindParams</h3>
                <pre class="signature">$_bindParams : array</pre>
                <p><em>Dynamic array that holds a combination of where condition/table data value types and parameter referances</em></p>
                

                                <h4>Type</h4>
                array
                                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__tableName" name="property__tableName" class="anchor"></a>
            <article class="property">
                <h3 class="private ">$_tableName</h3>
                <pre class="signature">$_tableName</pre>
                <p><em></em></p>
                

                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__columnName" name="property__columnName" class="anchor"></a>
            <article class="property">
                <h3 class="private ">$_columnName</h3>
                <pre class="signature">$_columnName</pre>
                <p><em></em></p>
                

                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__order" name="property__order" class="anchor"></a>
            <article class="property">
                <h3 class="private ">$_order</h3>
                <pre class="signature">$_order</pre>
                <p><em></em></p>
                

                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__email" name="property__email" class="anchor"></a>
            <article class="property">
                <h3 class="private ">$_email</h3>
                <pre class="signature">$_email</pre>
                <p><em></em></p>
                

                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/Models.User.html"><div class="path-wrapper">\Models\User</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="property__valueToCheck" name="property__valueToCheck" class="anchor"></a>
            <article class="property">
                <h3 class="private ">$_valueToCheck</h3>
                <pre class="signature">$_valueToCheck</pre>
                <p><em></em></p>
                

                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                        <dl>
                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/Models.User.html"><div class="path-wrapper">\Models\User</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                            
                                    <a id="methods" name="methods"></a>
            <div class="row-fluid">
                <div class="span8 content class"><h2>Methods</h2></div>
                <aside class="span4 detailsbar"></aside>
            </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_allBooksOfAuthor" name="method_allBooksOfAuthor" class="anchor"></a>
            <article class="method">
                <h3 class="public ">allBooksOfAuthor()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">allBooksOfAuthor(int <span class="argument">$authorId</span>) : array</pre>
                <p><em>By this method I validate author ID, check is it exists in the DB.</em></p>
                <p>If everything is OK I return all books of author
if not I redirect user back to home page.</p>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>int</td>
                                <td>$authorId</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    array
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_saveAuthor" name="method_saveAuthor" class="anchor"></a>
            <article class="method">
                <h3 class="public ">saveAuthor()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">saveAuthor(int <span class="argument">$isAdmin</span>, \Models\str <span class="argument">$authorName</span>, \Models\str <span class="argument">$exception</span>, int <span class="argument">$code</span>)</pre>
                <p><em>By this method I validate author name, check is it exists in the DB.</em></p>
                <p>If everything is OK I save new author in the DB if not it throws exceptions.</p>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>int</td>
                                <td>$isAdmin</td>
                                <td><ul>
<li>1 is for registered users, 2 is for admins</li>
</ul></td>
                            </tr>
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$authorName</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$exception</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>int</td>
                                <td>$code</td>
                                <td></td>
                            </tr>
                                            </table>
                
                                    <h4>Throws</h4>
                    <dl>
                                                    <dt>\Exception</dt>
                            <dd></dd>
                                                                    </dl>
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_setAllFromOneTable" name="method_setAllFromOneTable" class="anchor"></a>
            <article class="method">
                <h3 class="public ">setAllFromOneTable()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">setAllFromOneTable(\Models\str <span class="argument">$tableName</span>, \Models\str <span class="argument">$columnName</span>, \Models\str <span class="argument">$order</span>)</pre>
                <p><em>By this method I set all data needed to get all authors from the DB.</em></p>
                <p>It is used in add_book.php</p>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$tableName</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$columnName</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$order</td>
                                <td></td>
                            </tr>
                                            </table>
                
                                    <h4>Throws</h4>
                    <dl>
                                                    <dt>\Exception</dt>
                            <dd></dd>
                                                                    </dl>
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getAllFromOneTable" name="method_getAllFromOneTable" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getAllFromOneTable()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getAllFromOneTable() : array</pre>
                <p><em>By this method I get all authors from the DB. It is used in add_book.php</em></p>
                

                
                
                                    <h4>Returns</h4>
                    array
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_validate" name="method_validate" class="anchor"></a>
            <article class="method">
                <h3 class="public ">validate()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">validate( <span class="argument">$valueToCheck</span>, int <span class="argument">$minLength</span>, \Models\str <span class="argument">$errMsg</span>, int <span class="argument">$errCode</span>) : \Models\int,</pre>
                <p><em>This method is to trim and validate data by minimum length.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td></td>
                                <td>$valueToCheck</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>int</td>
                                <td>$minLength</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$errMsg</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>int</td>
                                <td>$errCode</td>
                                <td></td>
                            </tr>
                                            </table>
                
                                    <h4>Throws</h4>
                    <dl>
                                                    <dt>\Exception</dt>
                            <dd></dd>
                                                                    </dl>
                
                                    <h4>Returns</h4>
                    \Models\int,
                                            &mdash; <p>str</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/Models.User.html"><div class="path-wrapper">\Models\User</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_validateEmail" name="method_validateEmail" class="anchor"></a>
            <article class="method">
                <h3 class="public ">validateEmail()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">validateEmail(\Models\str <span class="argument">$email</span>) : \Models\str</pre>
                <p><em>This method validates email.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$email</td>
                                <td></td>
                            </tr>
                                            </table>
                
                                    <h4>Throws</h4>
                    <dl>
                                                    <dt>\Exception\</dt>
                            <dd></dd>
                                                                    </dl>
                
                                    <h4>Returns</h4>
                    \Models\str
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/Models.User.html"><div class="path-wrapper">\Models\User</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_isInDb" name="method_isInDb" class="anchor"></a>
            <article class="method">
                <h3 class="public ">isInDb()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">isInDb(\Models\str <span class="argument">$tableName</span>, \Models\str <span class="argument">$columnName</span>, \Models\str <span class="argument">$valueToCheck</span>) : int</pre>
                <p><em>This method is to check if value is in the DB. Returns number of affected rows.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$tableName</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$columnName</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$valueToCheck</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    int
                                            &mdash; <ul>
<li>numbers of rows</li>
</ul>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/Models.User.html"><div class="path-wrapper">\Models\User</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_registration" name="method_registration" class="anchor"></a>
            <article class="method">
                <h3 class="public ">registration()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">registration(\Models\str <span class="argument">$userName</span>, \Models\str <span class="argument">$password</span>, \Models\str <span class="argument">$email</span>)</pre>
                <p><em>This method saves user in the DB.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$userName</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$password</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$email</td>
                                <td></td>
                            </tr>
                                            </table>
                
                                    <h4>Throws</h4>
                    <dl>
                                                    <dt>\Exception</dt>
                            <dd></dd>
                                                                    </dl>
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/Models.User.html"><div class="path-wrapper">\Models\User</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_login" name="method_login" class="anchor"></a>
            <article class="method">
                <h3 class="public ">login()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">login(\Models\str <span class="argument">$userName</span>, \Models\str <span class="argument">$password</span>)</pre>
                <p><em>This method is to login.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$userName</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>\Models\str</td>
                                <td>$password</td>
                                <td></td>
                            </tr>
                                            </table>
                
                                    <h4>Throws</h4>
                    <dl>
                                                    <dt>\Exception</dt>
                            <dd></dd>
                                                                    </dl>
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/Models.User.html"><div class="path-wrapper">\Models\User</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_redirectLogged" name="method_redirectLogged" class="anchor"></a>
            <article class="method">
                <h3 class="public ">redirectLogged()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">redirectLogged()</pre>
                <p><em>This method is used when user goes to registration page.</em></p>
                <p>If user is logged he is redirected to home page.</p>

                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                            <span class="label label-info">static</span>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/Models.User.html"><div class="path-wrapper">\Models\User</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getUserName" name="method_getUserName" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getUserName()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getUserName(int <span class="argument">$userId</span>) : \Models\str</pre>
                <p><em>By this method I get user name by user id.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>int</td>
                                <td>$userId</td>
                                <td></td>
                            </tr>
                                            </table>
                
                                    <h4>Throws</h4>
                    <dl>
                                                    <dt>\Exception</dt>
                            <dd></dd>
                                                                    </dl>
                
                                    <h4>Returns</h4>
                    \Models\str
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                            <span class="label label-info">static</span>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/Models.User.html"><div class="path-wrapper">\Models\User</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method___construct" name="method___construct" class="anchor"></a>
            <article class="method">
                <h3 class="public ">__construct()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">__construct(string <span class="argument">$host</span>, string <span class="argument">$username</span>, string <span class="argument">$password</span>, string <span class="argument">$db</span>, int <span class="argument">$port</span>)</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$host</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>string</td>
                                <td>$username</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>string</td>
                                <td>$password</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>string</td>
                                <td>$db</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td>int</td>
                                <td>$port</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getInstance" name="method_getInstance" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getInstance()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getInstance() : object</pre>
                <p><em>A method of returning the static instance to allow access to the
instantiated object from within another class.</em></p>
                <p>Inheriting this class would require reloading connection info.</p>

                
                
                                    <h4>Returns</h4>
                    object
                                            &mdash; <p>Returns the current instance.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                            <span class="label label-info">static</span>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                                                            <dt>Uses</dt>
                                                                <dd>$db</dd>
                                                </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_rawQuery" name="method_rawQuery" class="anchor"></a>
            <article class="method">
                <h3 class="public ">rawQuery()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">rawQuery(string <span class="argument">$query</span>, array <span class="argument">$bindParams</span>) : array</pre>
                <p><em>Pass in a raw query and an array containing the parameters to bind to the prepaird statement.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$query</td>
                                <td><p>Contains a user-provided query.</p></td>
                            </tr>
                                                    <tr>
                                <td>array</td>
                                <td>$bindParams</td>
                                <td><p>All variables to bind to the SQL statment.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    array
                                            &mdash; <p>Contains the returned rows from the query.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_query" name="method_query" class="anchor"></a>
            <article class="method">
                <h3 class="public ">query()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">query(string <span class="argument">$query</span>, int <span class="argument">$numRows</span>) : array</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$query</td>
                                <td><p>Contains a user-provided select query.</p></td>
                            </tr>
                                                    <tr>
                                <td>int</td>
                                <td>$numRows</td>
                                <td><p>The number of rows total to return.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    array
                                            &mdash; <p>Contains the returned rows from the query.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_get" name="method_get" class="anchor"></a>
            <article class="method">
                <h3 class="public ">get()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">get(string <span class="argument">$tableName</span>, integer <span class="argument">$numRows</span>) : array</pre>
                <p><em>A convenient SELECT * function.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$tableName</td>
                                <td><p>The name of the database table to work with.</p></td>
                            </tr>
                                                    <tr>
                                <td>integer</td>
                                <td>$numRows</td>
                                <td><p>The number of rows total to return.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    array
                                            &mdash; <p>Contains the returned rows from the select query.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getOne" name="method_getOne" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getOne()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getOne(string <span class="argument">$tableName</span>) : array</pre>
                <p><em>A convenient SELECT * function to get one record.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$tableName</td>
                                <td><p>The name of the database table to work with.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    array
                                            &mdash; <p>Contains the returned rows from the select query.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_insert" name="method_insert" class="anchor"></a>
            <article class="method">
                <h3 class="public ">insert()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">insert(\&lt;string <span class="argument">$tableName</span>, array <span class="argument">$insertData</span>) : boolean</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>\<string</td>
                                <td>$tableName</td>
                                <td><p>The name of the table.</p></td>
                            </tr>
                                                    <tr>
                                <td>array</td>
                                <td>$insertData</td>
                                <td><p>Data containing information for inserting into the DB.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    boolean
                                            &mdash; <p>Boolean indicating whether the insert query was completed succesfully.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_update" name="method_update" class="anchor"></a>
            <article class="method">
                <h3 class="public ">update()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">update(string <span class="argument">$tableName</span>, array <span class="argument">$tableData</span>) : boolean</pre>
                <p><em>Update query. Be sure to first call the &quot;where&quot; method.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$tableName</td>
                                <td><p>The name of the database table to work with.</p></td>
                            </tr>
                                                    <tr>
                                <td>array</td>
                                <td>$tableData</td>
                                <td><p>Array of data to update the desired row.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    boolean
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_delete" name="method_delete" class="anchor"></a>
            <article class="method">
                <h3 class="public ">delete()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">delete(string <span class="argument">$tableName</span>, integer <span class="argument">$numRows</span>) : boolean</pre>
                <p><em>Delete query. Call the &quot;where&quot; method first.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$tableName</td>
                                <td><p>The name of the database table to work with.</p></td>
                            </tr>
                                                    <tr>
                                <td>integer</td>
                                <td>$numRows</td>
                                <td><p>The number of rows to delete.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    boolean
                                            &mdash; <p>Indicates success. 0 or 1.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_where" name="method_where" class="anchor"></a>
            <article class="method">
                <h3 class="public ">where()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">where(string <span class="argument">$whereProp</span>, mixed <span class="argument">$whereValue</span>) : \MysqliDb</pre>
                <p><em>This method allows you to specify multipl (method chaining optional) WHERE statements for SQL queries.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$whereProp</td>
                                <td><p>The name of the database field.</p></td>
                            </tr>
                                                    <tr>
                                <td>mixed</td>
                                <td>$whereValue</td>
                                <td><p>The value of the database field.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    <a href="../classes/MysqliDb.html">\MysqliDb</a>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                                                            <dt>Uses</dt>
                                                                <dd>$MySqliDb->where('id',</dd>
                                                </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_orderBy" name="method_orderBy" class="anchor"></a>
            <article class="method">
                <h3 class="public ">orderBy()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">orderBy( <span class="argument">$orderByField</span>,  <span class="argument">$orderbyDirection</span>) : \MysqliDb</pre>
                <p><em>This method allows you to specify multiple (method chaining optional) ORDER BY statements for SQL queries.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td></td>
                                <td>$orderByField</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td></td>
                                <td>$orderbyDirection</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    <a href="../classes/MysqliDb.html">\MysqliDb</a>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                                                            <dt>Uses</dt>
                                                                <dd>$MySqliDb->orderBy('id',</dd>
                                                </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_getInsertId" name="method_getInsertId" class="anchor"></a>
            <article class="method">
                <h3 class="public ">getInsertId()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">getInsertId() : integer</pre>
                <p><em>This methods returns the ID of the last inserted item</em></p>
                

                
                
                                    <h4>Returns</h4>
                    integer
                                            &mdash; <p>The last inserted item ID.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_escape" name="method_escape" class="anchor"></a>
            <article class="method">
                <h3 class="public ">escape()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">escape(string <span class="argument">$str</span>) : string</pre>
                <p><em>Escape harmful characters which might affect a query.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>string</td>
                                <td>$str</td>
                                <td><p>The string to escape.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    string
                                            &mdash; <p>The escaped string.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method___destruct" name="method___destruct" class="anchor"></a>
            <article class="method">
                <h3 class="public ">__destruct()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">__destruct()</pre>
                <p><em>Close connection</em></p>
                

                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_reset" name="method_reset" class="anchor"></a>
            <article class="method">
                <h3 class="protected ">reset()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">reset() : object</pre>
                <p><em>Reset states after an execution</em></p>
                

                
                
                                    <h4>Returns</h4>
                    object
                                            &mdash; <p>Returns the current instance.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method__determineType" name="method__determineType" class="anchor"></a>
            <article class="method">
                <h3 class="protected ">_determineType()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">_determineType(mixed <span class="argument">$item</span>) : string</pre>
                <p><em>This method is needed for prepared statements. They require
the data type of the field to be bound with &quot;i&quot; s&quot;, etc.</em></p>
                <p>This function takes the input, determines what type it is,
and then updates the param_type.</p>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>mixed</td>
                                <td>$item</td>
                                <td><p>Input to determine the type.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    string
                                            &mdash; <p>The joined parameter types.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method__buildQuery" name="method__buildQuery" class="anchor"></a>
            <article class="method">
                <h3 class="protected ">_buildQuery()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">_buildQuery(int <span class="argument">$numRows</span>, array <span class="argument">$tableData</span>) : \mysqli_stmt</pre>
                <p><em>Abstraction method that will compile the WHERE statement,
any passed update data, and the desired rows.</em></p>
                <p>It then builds the SQL query.</p>

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>int</td>
                                <td>$numRows</td>
                                <td><p>The number of rows total to return.</p></td>
                            </tr>
                                                    <tr>
                                <td>array</td>
                                <td>$tableData</td>
                                <td><p>Should contain an array of data for updating the database.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    \mysqli_stmt
                                            &mdash; <p>Returns the $stmt object.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method__dynamicBindResults" name="method__dynamicBindResults" class="anchor"></a>
            <article class="method">
                <h3 class="protected ">_dynamicBindResults()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">_dynamicBindResults(\mysqli_stmt <span class="argument">$stmt</span>) : array</pre>
                <p><em>This helper method takes care of prepared statements&#039; &quot;bind_result method
, when the number of variables to pass is unknown.</em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>\mysqli_stmt</td>
                                <td>$stmt</td>
                                <td><p>Equal to the prepared statement object.</p></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    array
                                            &mdash; <p>The results of the SQL fetch.</p>
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method__prepareQuery" name="method__prepareQuery" class="anchor"></a>
            <article class="method">
                <h3 class="protected ">_prepareQuery()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">_prepareQuery() : \mysqli_stmt</pre>
                <p><em>Method attempts to prepare the SQL query
and throws an error if there was a problem.</em></p>
                

                
                
                                    <h4>Returns</h4>
                    \mysqli_stmt
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method_refValues" name="method_refValues" class="anchor"></a>
            <article class="method">
                <h3 class="protected ">refValues()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">refValues(array <span class="argument">$arr</span>) : array</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td>array</td>
                                <td>$arr</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                                    <h4>Returns</h4>
                    array
                                                </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/MysqliDb.html"><div class="path-wrapper">\MysqliDb</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                                    <div class="row-fluid">
        <div class="span8 content class">
            <a id="method__isInDb" name="method__isInDb" class="anchor"></a>
            <article class="method">
                <h3 class="private ">_isInDb()</h3>
                <a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
                <pre class="signature" style="margin-right: 54px;">_isInDb( <span class="argument">$tableName</span>,  <span class="argument">$columnName</span>,  <span class="argument">$valueToCheck</span>)</pre>
                <p><em></em></p>
                

                                    <h4>Parameters</h4>
                    <table class="table table-condensed table-hover">
                                                    <tr>
                                <td></td>
                                <td>$tableName</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td></td>
                                <td>$columnName</td>
                                <td></td>
                            </tr>
                                                    <tr>
                                <td></td>
                                <td>$valueToCheck</td>
                                <td></td>
                            </tr>
                                            </table>
                
                
                            </article>
        </div>
        <aside class="span4 detailsbar">
            <h1><i class="icon-arrow-down"></i></h1>
                                                            <dl>
                                                    <dt>Inherited from</dt>
                    <dd><a href="../classes/Models.User.html"><div class="path-wrapper">\Models\User</div></a></dd>
                                                            </dl>
            <h2>Tags</h2>
            <table class="table table-condensed">
                                    <tr>
                        <th>
                            todo
                        </th>
                        <td>
                                                    </td>
                    </tr>
                            </table>
        </aside>
    </div>

                                    </div>
    </section>

    <div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3 id="source-view-label">Authors.php</h3>
        </div>
        <div class="modal-body">
            <pre data-src="../files/Models\Authors.php.txt" class="language-php line-numbers"></pre>
        </div>
    </div>

    <footer class="row-fluid">
        <section class="span10 offset2">
            <section class="row-fluid">
                <section class="span10 offset1">
                    <section class="row-fluid footer-sections">
                        <section class="span4">
                                                        <h1><i class="icon-code"></i></h1>
                            <div>
                                <ul>
                                                                            <li><a href="../namespaces/Models.html">\Models</a></li>
                                                                    </ul>
                            </div>
                        </section>
                        <section class="span4">
                                                        <h1><i class="icon-bar-chart"></i></h1>
                            <div>
                                <ul>
                                    <li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
                                </ul>
                            </div>
                        </section>
                        <section class="span4">
                                                        <h1><i class="icon-pushpin"></i></h1>
                            <div>
                                <ul>
                                    <li><a href="../reports/errors.html">Errors</a></li>
                                    <li><a href="../reports/markers.html">Markers</a></li>
                                </ul>
                            </div>
                        </section>
                    </section>
                </section>
            </section>
            <section class="row-fluid">
                <section class="span10 offset1">
                    <hr />
                    Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
                    on January 10th, 2014 at 13:44.
                </section>
            </section>
        </section>
    </footer>
</div>

</body>
</html>
